using System;
using System.Collections.Generic;
using System.Text;

namespace SJBotGame.SJBotGameComponents
{
    public class SJBotTitle
    {
        private int titleID;
        public int TitleID { get { return titleID; } set { titleID = value;  } }
        public SJBotTitle()
        {
            titleID = -1;
        }
        public SJBotTitle(int titleIndex)
        {
            this.titleID = titleIndex;
        }
        public override string ToString()
        {
            return titleID.ToString();
        }
        public override bool Equals(object obj)
        {
            return titleID.Equals(((SJBotTitle)obj).titleID);
        }
        public override int GetHashCode()
        {
            return titleID.GetHashCode();
        }
    }
}
